﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XingFuStudio.Pioneer.Entity;
using XingFuStudio.Pioneer.Net;

namespace XingFuStudio.Pioneer.Container.Interface.Event {
    /// <summary>
    /// 登录失败事件参数类
    /// </summary>
    public class LoginFailedEventArgs : EventArgs{
        /// <summary>
        /// 帐户信息
        /// </summary>
        private AccountInfo account = new AccountInfo();

        /// <summary>
        /// 获取或设置帐户
        /// </summary>
        public AccountInfo Account {
            get {
                return this.account;
            }
            set {
                this.account = value;
            }
        }

        /// <summary>
        /// 错误码
        /// </summary>
        private int errorCode = 0;

        /// <summary>
        /// 获取或设置错误码
        /// </summary>
        public int ErrorCode {
            get {
                return errorCode;
            }
            set {
                errorCode = value;
            }
        }

        /// <summary>
        /// 执行登录的Http管理类
        /// </summary>
        private HttpManager httpManger = new HttpManager();

        /// <summary>
        /// 获取执行登录的Http管理类
        /// </summary>
        public HttpManager HttpManger {
            get {
                return httpManger;
            }
            set {
                httpManger = value;
            }
        }
    }
}
